import {App} from 'vue'
import {createPinia, type Pinia} from 'pinia'

const store: Pinia = createPinia()

export async function setupStore(app: App<Element>) {
    app.use(store)
}

export {store}

export default store
